package com.zhou.dto.vip;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description : 新增vip等级
 * @Author : zyy
 * @Date: 2024/6/19  15:17
 */
@Data
@Schema(name = "vip")
public class VipDTO {
    @Schema(name = "用户id", type = "string")
    @NotEmpty(message = "用户id不能为空")
    private String userInfoId;

    @Schema(name = "过期时间", type = "string")
    private Integer expirationTime;

    @Schema(name = "描述", type = "string")
    @NotEmpty(message = "描述不能为空")
    private String describes;
}
